package com.work.dao;

import com.work.bean.Hw;

import java.util.List;

public interface HwDao {
    List<Hw> queryHw();

    Hw queryHwById(Integer id);

    List<Hw> queryHwByTeacherId(Integer teacher_id);

    Hw queryHwByTime();

    int saveHw(Hw hw);

    int updateHw(Hw hw);

    int deleteHw(Integer id);
}
